package com.adou.common.model;

import com.adou.common.model.base.BaseEntity;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@Alias("FlowHistory")
public class FlowHistory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;
    private Long iflid;
    private String cdone;
    private String ctaskname;
    private String cdonetype;
    private Date cdonetime;
    private String cnotes;

    public FlowHistory() {
    }

    public FlowHistory(Long iflid, String cdone, String ctaskname, String cdonetype, String cnotes) {
        this.setIflid(iflid);
        this.setCdone(cdone);
        this.setCtaskname(ctaskname);
        this.setCdonetype(cdonetype);
        this.setCnotes(cnotes);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getIflid() {
        return iflid;
    }

    public void setIflid(Long iflid) {
        this.iflid = iflid;
    }

    public String getCdone() {
        return cdone;
    }

    public void setCdone(String cdone) {
        this.cdone = cdone == null ? "" : cdone;
    }

    public String getCtaskname() {
        return ctaskname;
    }

    public void setCtaskname(String ctaskname) {
        this.ctaskname = ctaskname == null ? "" : ctaskname;
    }

    public String getCdonetype() {
        return cdonetype;
    }

    public void setCdonetype(String cdonetype) {
        this.cdonetype = cdonetype == null ? "" : cdonetype;
    }

    public Date getCdonetime() {
        return cdonetime;
    }

    public void setCdonetime(Date cdonetime) {
        this.cdonetime = cdonetime;
    }

    public String getCnotes() {
        return cnotes;
    }

    public void setCnotes(String cnotes) {
        this.cnotes = cnotes == null ? "" : cnotes;
    }
}
